import request from '@/utils/request'

// 查询打标关系计算列表
export function listCalulatorTableRelation(query) {
  return request({
    url: '/conf/CalulatorTableRelation/list',
    method: 'get',
    params: query
  })
}

// 查询打标关系计算详细
export function getCalulatorTableRelation(id) {
  return request({
    url: '/conf/CalulatorTableRelation/' + id,
    method: 'get'
  })
}

// 新增打标关系计算
export function addCalulatorTableRelation(data) {
  return request({
    url: '/conf/CalulatorTableRelation',
    method: 'post',
    data: data
  })
}

// 修改打标关系计算
export function updateCalulatorTableRelation(data) {
  return request({
    url: '/conf/CalulatorTableRelation',
    method: 'put',
    data: data
  })
}

// 删除打标关系计算
export function delCalulatorTableRelation(id) {
  return request({
    url: '/conf/CalulatorTableRelation/' + id,
    method: 'delete'
  })
}
